<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="format-detection" content="telephone=no, email=no">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="full-screen" content="yes">
    <meta name="browsermode" content="application">
    <meta name="screen-orientation" content="portrait">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>欢迎使用</title>
    <link href="../Public/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
        * {
            font-family: "微软雅黑", "宋体", Arial;
        }
        p, h1, h2, h3, h4, h5, h6 {
            padding: 0;
            margin: 0;
        }
        html {
            min-width: 320px;
        }
        #header {
            background: rgba(12, 175, 213, 0.82);
            margin: 0;
            z-index: 1000;
        }
        #header p{
            width: 100%;
            height: 50px;
            position: absolute;
            top: 0;
            left: 0;
            font-size: 1.6em;
            line-height: 50px;
            color: white;
            text-align: center;
            z-index: -100;
        }
        .navbar-brand span{
            color: white;
        }
        #container{
            margin-top: 50px;
        }
        #content{
            width: 100%;
            height: 100%;
            text-align: center;
            position: absolute;
            top: 0;
            left: 0;
            padding-top: 30%;
        }
        #welcome{
            width: 100%;
            max-width: 500px;
            background: #cccccc;
            margin-top: 30px;
            position: relative;
        }
        #welcome img{
            width: 100%;
        }
        #take{
            margin-top: 30px;
            border: 2px solid rgba(17, 87, 158, 0.76);
            background: rgba(12, 175, 213, 0.82);
        }
        #time{
            width: 50%;
            height: 50px;
            line-height: 50px;
            display: block;
            margin-left: auto;
            margin-right: auto;
            background: white;
            border-radius: 10px;
            -moz-box-shadow:0px 3px 3px #999 inset;
            -webkit-box-shadow:0px 3px 3px #999 inset;
            box-shadow:0px 3px 3px #999 inset;
            text-align: center;
            font-size: 2.6em;
        }
        @media screen and (max-width: 400px) {
            #content{
                padding-top: 25%;
            }
            #take{
                margin-top: 15px;
                padding: 5px;
            }
            #time{
                height: 40px;
                line-height: 40px;
                font-size: 2em;
            }
        }
        #submit {
            width: 80%;
            display: block;
            margin: 30px auto 0 auto;
            background: rgba(12, 175, 213, 0.82);
            color: white;
            font-size: 1.2em;
        }
        .modal{
            padding: 20vh 10px;
        }
        .modal-dialog,.modal-content{
            width: 100%;
            margin: 0;
            text-align: center;
        }
        .modal-body{
            width: 100%;
            height: calc(100% - 56px);
            text-align: center;
        }
        .modal-body img{
            max-width: 100%;
            max-height: 60vh;
        }
        #name{
            margin: 5px 0;
            font-size: 16px;
            width: 70%;
            display: block;
            margin: 0 auto;
        }
    </style>
</head>
<body>
<header id="header" class="navbar navbar-fixed-top">
    <a href="order_list.html" class="navbar-brand">
        <span class="glyphicon glyphicon-menu-left"></span>
    </a>
    <p>CloudParking</p>
</header>
<div class="container" id="container">

    <div class="img-circle center-block" id="welcome">
        <img src="../public/img/time.jpg">
        <div id="content">
            <h2 class="text-center" style="margin-bottom: 10px;"><strong>欢迎使用</strong></h2>
            <p class="text-center" id="name">迎宾广场停车场</p>
            <span id="time">
                00:00:00
            </span>
            <button class="btn btn-info" type="button" id="take" onclick="window.location.href='account_info.html'">我要取车</button>
        </div>
    </div>
    <button class="btn" id="submit" type="button" data-toggle="modal" data-target="#myModal">查看停车场室内图</button>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document" >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">停车场室内图</h4>
            </div>
            <div class="modal-body">
                <img class="center-block img-responsive" src="../Public/img/map.jpg">
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="../Public/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="../Public/bootstrap/dist/js/bootstrap.min.js"></script>
</html>